<%@ page import="java.sql.Connection" %>
<%@ page import="java.sql.Statement" %>
<%@ page import="java.sql.ResultSet" %>
<%@ page import="java.sql.DriverManager" %><%--
  Created by IntelliJ IDEA.
  User: HiWin10
  Date: 2018/4/5 0005
  Time: 下午 17:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>更新操作</title>
</head>
<body>
<h1>以下为更新操作</h1>
<%
String username = request.getParameter("username");
String password = request.getParameter("password");

    Connection connection= null;
    Statement statement= null;
    ResultSet resultSet= null;

    String sql = "update t_users";

    Class.forName("com.mysql.jdbc.Driver");
    connection= DriverManager.getConnection(
            "jdbc:mysql://localhost:3306/sctu_javaweb_2018?serverTimezone=UTF",
            "root",
            "123456"
    ) ;
%>
<h1>what the fuck!</h1>
</body>
</html>
